package entity;
/*
  stoid varchar(15) primary key, -- 进货流水号
  stoticket varchar(50) unique not null, -- 进货票号唯一
  paykind varchar(2) not null,   -- 结算种类：01现金，02银联，03支付宝， 04财付通
  stotime timestamp(6) not null, -- 进货时间
  stocount int(10) not null,     -- 进货数量
  stoprice double(10,2) not null, -- 进货单价
  stoperson varchar(20) not null, -- 进货人
  totalprice double(12,2) not null, -- 本次进货总价= 进货数量*进货单价
  chkperson varchar(20), -- 入库检测人，与进货人不能同为一人
  chkval varchar(2)   -- 检测结论：01通过，02未通过
 */

import java.sql.Timestamp;

public class Sto {
	private String stoid;
	private String stoticket;
	private String paykind;
	private Timestamp stotime;
	private int stocount;
	private double stoprice;
	private String stoperson;
	private double totalprice;
	private String chkperson;
	private String chkval;
	private String wareid;
	
	
	
	public Sto(String stoid, String stoticket, String paykind, Timestamp stotime, int stocount, double stoprice,
			String stoperson, double totalprice, String chkperson, String chkval, String wareid) {
		super();
		this.stoid = stoid;
		this.stoticket = stoticket;
		this.paykind = paykind;
		this.stotime = stotime;
		this.stocount = stocount;
		this.stoprice = stoprice;
		this.stoperson = stoperson;
		this.totalprice = totalprice;
		this.chkperson = chkperson;
		this.chkval = chkval;
		this.wareid = wareid;
	}
	public Sto() {
		super();
	}
	public String getWareid() {
		return wareid;
	}
	public void setWareid(String wareid) {
		this.wareid = wareid;
	}
	public String getStoid() {
		return stoid;
	}
	public void setStoid(String stoid) {
		this.stoid = stoid;
	}
	public String getStoticket() {
		return stoticket;
	}
	public void setStoticket(String stoticket) {
		this.stoticket = stoticket;
	}
	public String getPaykind() {
		return paykind;
	}
	public void setPaykind(String paykind) {
		this.paykind = paykind;
	}
	public Timestamp getStotime() {
		return stotime;
	}
	public void setStotime(Timestamp stotime) {
		this.stotime = stotime;
	}
	public int getStocount() {
		return stocount;
	}
	public void setStocount(int stocount) {
		this.stocount = stocount;
	}
	public double getStoprice() {
		return stoprice;
	}
	public void setStoprice(double stoprice) {
		this.stoprice = stoprice;
	}
	public String getStoperson() {
		return stoperson;
	}
	public void setStoperson(String stoperson) {
		this.stoperson = stoperson;
	}
	public double getTotalprice() {
		return totalprice;
	}
	public void setTotalprice(double totalprice) {
		this.totalprice = totalprice;
	}
	public String getChkperson() {
		return chkperson;
	}
	public void setChkperson(String chkperson) {
		this.chkperson = chkperson;
	}
	public String getChkval() {
		return chkval;
	}
	public void setChkval(String chkval) {
		this.chkval = chkval;
	}
	@Override
	public String toString() {
		return "Sto [stoid=" + stoid + ", stoticket=" + stoticket + ", paykind=" + paykind + ", stotime=" + stotime
				+ ", stocount=" + stocount + ", stoprice=" + stoprice + ", stoperson=" + stoperson + ", totalprice="
				+ totalprice + ", chkperson=" + chkperson + ", chkval=" + chkval + ", wareid=" + wareid + "]";
	}	
}
